package com.jq.aution.service.impl;

import com.jq.aution.mapper.NoticeMapper;
import com.jq.aution.model.Notice;
import com.jq.aution.model.NoticeExample;
import com.jq.aution.service.NoticeService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class NoticeServiceImpl implements NoticeService {
    private static final Logger LOGGER = LoggerFactory.getLogger(ProductBidInfoServiceImpl.class);

    @Autowired
    NoticeMapper noticeMapper;

    @Override
    public List<Notice> getList() {
        NoticeExample example=new NoticeExample();
        return noticeMapper.selectByExample(example);
    }
}
